class A:
    def __init__(self,value):
        self.value=value

    @staticmethod
    def setProperty2(subvalue):
        return A(subvalue)